lines = ['- .b'; '--xr';'-.*g';':oy '];
names = ['nst15\_wt095';'nst15\_wt090';'nst19\_wt095';'nst19\_wt090']; %that's the order of how they're read
ROCFrontSF105 = readROCDataDir('D:\Usagers\matre697\Maitrise\HaarTraining\colosse_opencv220\front\results\sf105\');
ROCFrontSF110 = readROCDataDir('D:\Usagers\matre697\Maitrise\HaarTraining\colosse_opencv220\front\results\sf110\');
ROCFrontSF120 = readROCDataDir('D:\Usagers\matre697\Maitrise\HaarTraining\colosse_opencv220\front\results\sf120\');

ROCSideSF105 = readROCDataDir('D:\Usagers\matre697\Maitrise\HaarTraining\colosse_opencv220\side\results\sf105\');
ROCSideSF110 = readROCDataDir('D:\Usagers\matre697\Maitrise\HaarTraining\colosse_opencv220\side\results\sf110\');
ROCSideSF120 = readROCDataDir('D:\Usagers\matre697\Maitrise\HaarTraining\colosse_opencv220\side\results\sf120\');

ROCRearSF105 = readROCDataDir('D:\Usagers\matre697\Maitrise\HaarTraining\colosse_opencv220\rear\results\sf105\');
ROCRearSF110 = readROCDataDir('D:\Usagers\matre697\Maitrise\HaarTraining\colosse_opencv220\rear\results\sf110\');
ROCRearSF120 = readROCDataDir('D:\Usagers\matre697\Maitrise\HaarTraining\colosse_opencv220\rear\results\sf120\');

%1 to 4 --> 0.05, 5 to 8 --> 0.2
figure; hold on; for i=1:4; plot(ROCFrontSF105(:,4,i),ROCFrontSF105(:,3,i),lines(i,:),'DisplayName',names(i,:)); xlabel('false alarm rate'); ylabel('hit rate'); end; legend show;
figure; hold on; for i=5:8; plot(ROCFrontSF105(:,4,i),ROCFrontSF105(:,3,i),lines(i-4,:),'DisplayName',names(i-4,:)); xlabel('false alarm rate'); ylabel('hit rate'); end; legend show;
figure; hold on; for i=1:4; plot(ROCFrontSF110(:,4,i),ROCFrontSF110(:,3,i),lines(i,:),'DisplayName',names(i,:)); xlabel('false alarm rate'); ylabel('hit rate'); end; legend show;
figure; hold on; for i=5:8; plot(ROCFrontSF110(:,4,i),ROCFrontSF110(:,3,i),lines(i-4,:),'DisplayName',names(i-4,:)); xlabel('false alarm rate'); ylabel('hit rate'); end; legend show;
figure; hold on; for i=1:4; plot(ROCFrontSF120(:,4,i),ROCFrontSF120(:,3,i),lines(i,:),'DisplayName',names(i,:)); xlabel('false alarm rate'); ylabel('hit rate'); end; legend show;
figure; hold on; for i=5:8; plot(ROCFrontSF120(:,4,i),ROCFrontSF120(:,3,i),lines(i-4,:),'DisplayName',names(i-4,:)); xlabel('false alarm rate'); ylabel('hit rate'); end; legend show;

figure; hold on; for i=1:4; plot(ROCRearSF105(:,4,i),ROCRearSF105(:,3,i),lines(i,:),'DisplayName',names(i,:)); xlabel('false alarm rate'); ylabel('hit rate'); end; legend show;
figure; hold on; for i=5:8; plot(ROCRearSF105(:,4,i),ROCRearSF105(:,3,i),lines(i-4,:),'DisplayName',names(i-4,:)); xlabel('false alarm rate'); ylabel('hit rate'); end; legend show;
figure; hold on; for i=1:4; plot(ROCRearSF110(:,4,i),ROCRearSF110(:,3,i),lines(i,:),'DisplayName',names(i,:)); xlabel('false alarm rate'); ylabel('hit rate'); end; legend show;
figure; hold on; for i=5:8; plot(ROCRearSF110(:,4,i),ROCRearSF110(:,3,i),lines(i-4,:),'DisplayName',names(i-4,:)); xlabel('false alarm rate'); ylabel('hit rate'); end; legend show;
figure; hold on; for i=1:4; plot(ROCRearSF120(:,4,i),ROCRearSF120(:,3,i),lines(i,:),'DisplayName',names(i,:)); xlabel('false alarm rate'); ylabel('hit rate'); end; legend show;
figure; hold on; for i=5:8; plot(ROCRearSF120(:,4,i),ROCRearSF120(:,3,i),lines(i-4,:),'DisplayName',names(i-4,:)); xlabel('false alarm rate'); ylabel('hit rate'); end; legend show;

figure; hold on; for i=1:4; plot(ROCSideSF105(:,4,i),ROCSideSF105(:,3,i),lines(i,:),'DisplayName',names(i,:)); xlabel('false alarm rate'); ylabel('hit rate'); end; legend show;
figure; hold on; for i=5:8; plot(ROCSideSF105(:,4,i),ROCSideSF105(:,3,i),lines(i-4,:),'DisplayName',names(i-4,:)); xlabel('false alarm rate'); ylabel('hit rate'); end; legend show;
figure; hold on; for i=1:4; plot(ROCSideSF110(:,4,i),ROCSideSF110(:,3,i),lines(i,:),'DisplayName',names(i,:)); xlabel('false alarm rate'); ylabel('hit rate'); end; legend show;
figure; hold on; for i=5:8; plot(ROCSideSF110(:,4,i),ROCSideSF110(:,3,i),lines(i-4,:),'DisplayName',names(i-4,:)); xlabel('false alarm rate'); ylabel('hit rate'); end; legend show;
figure; hold on; for i=1:4; plot(ROCSideSF120(:,4,i),ROCSideSF120(:,3,i),lines(i,:),'DisplayName',names(i,:)); xlabel('false alarm rate'); ylabel('hit rate'); end; legend show;
figure; hold on; for i=5:8; plot(ROCSideSF120(:,4,i),ROCSideSF120(:,3,i),lines(i-4,:),'DisplayName',names(i-4,:)); xlabel('false alarm rate'); ylabel('hit rate'); end; legend show;